﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model.FromBody.GsDataModel
{
    public class CreditsExchangeModel
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 兑换商品ID
        /// </summary>
        public string relId { get; set; }

        /// <summary>
        /// 兑换商品名称
        /// </summary>
        public string relName { get; set; }

        /// <summary>
        /// 积分商品编码
        /// </summary>
        public string itemCode { get; set; }
        /// <summary>
        /// 商品标题
        /// </summary>
        public string itemName { get; set; }
        /// <summary>
        /// 副标题
        /// </summary>
        public string itemSecondName { get; set; }
        /// <summary>
        /// 商品宣传图片
        /// </summary>
        public string gallery { get; set; }
        /// <summary>
        /// 详情
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 商品主图
        /// </summary>
        public string picUrl { get; set; }
        /// <summary>
        /// 类型
        /// 1券 2虚拟商品 3实体商品
        /// </summary>
        public int type { get; set; }
        /// <summary>
        /// 所需积分
        /// </summary>
        public int amount { get; set; }
        /// <summary>
        /// 是否删除 0删除 1正常
        /// </summary>
        public int deleted { get; set; }
        /// <summary>
        /// 发货方式 1自动发送 2自提 3快递
        /// </summary>
        public int deliveryType { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        public int stock { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 重量码
        /// </summary>
        public string weight { get; set; }
        /// <summary>
        /// 限制数量
        /// </summary>
        public string limitNumber { get; set; }

        public long specId { get; set; } = 0;

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
    }
}
